package com.beiye.drivertransport.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by ky on 2018/1/11.
 */

public class SpecifiedLearningBean {

    /**
     * result : true
     * data : null
     * msg : 操作成功
     * rows : [{"sn":41,"orgId":null,"creationDate":1513850399000,"orgName":"九龙坡XX驾校","planName":"XX驾校1月份培训计划","beginDate":1514736000000,"endDate":1517328000000,"resultCode":null,"listCourse":[{"sn":23,"orgId":null,"otpSn":null,"tcSn":47,"ttName":"安全驾驶","courseName":"安全驾驶第一课","courseLength":1,"mrMark":1,"readNo":124,"resultCode":null,"studyState":0},{"sn":41,"orgId":null,"otpSn":null,"tcSn":75,"ttName":"车辆常识","courseName":"汽车常识课程学习","courseLength":10,"mrMark":0,"readNo":0,"resultCode":null,"studyState":0},{"sn":42,"orgId":null,"otpSn":null,"tcSn":77,"ttName":"车辆常识","courseName":"汽车常识课程学习去","courseLength":10,"mrMark":0,"readNo":1,"resultCode":null,"studyState":0}]},{"sn":42,"orgId":null,"creationDate":1513906237000,"orgName":"九龙坡XX驾校","planName":"XX驾校12月份培训计划","beginDate":1512057600000,"endDate":1514649600000,"resultCode":null,"listCourse":[{"sn":24,"orgId":null,"otpSn":null,"tcSn":49,"ttName":"安全驾驶","courseName":"成都安全驾驶第一课","courseLength":0,"mrMark":0,"readNo":2,"resultCode":null,"studyState":0},{"sn":61,"orgId":null,"otpSn":null,"tcSn":77,"ttName":"车辆常识","courseName":"汽车常识课程学习去","courseLength":10,"mrMark":0,"readNo":1,"resultCode":null,"studyState":0},{"sn":62,"orgId":null,"otpSn":null,"tcSn":75,"ttName":"车辆常识","courseName":"汽车常识课程学习","courseLength":10,"mrMark":0,"readNo":0,"resultCode":null,"studyState":0}]},{"sn":81,"orgId":null,"creationDate":1515395143000,"orgName":"九龙坡XX驾校","planName":"XX驾校11月份培训计划","beginDate":1509465600000,"endDate":1511971200000,"resultCode":null,"listCourse":[]}]
     * total : 3
     * code : 0
     */

    private boolean result;
    private Object data;
    private String msg;
    private int total;
    private int code;
    private List<RowsBean> rows;

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean {
        /**
         * sn : 41
         * orgId : null
         * creationDate : 1513850399000
         * orgName : 九龙坡XX驾校
         * planName : XX驾校1月份培训计划
         * beginDate : 1514736000000
         * endDate : 1517328000000
         * resultCode : null
         * listCourse : [{"sn":23,"orgId":null,"otpSn":null,"tcSn":47,"ttName":"安全驾驶","courseName":"安全驾驶第一课","courseLength":1,"mrMark":1,"readNo":124,"resultCode":null,"studyState":0},{"sn":41,"orgId":null,"otpSn":null,"tcSn":75,"ttName":"车辆常识","courseName":"汽车常识课程学习","courseLength":10,"mrMark":0,"readNo":0,"resultCode":null,"studyState":0},{"sn":42,"orgId":null,"otpSn":null,"tcSn":77,"ttName":"车辆常识","courseName":"汽车常识课程学习去","courseLength":10,"mrMark":0,"readNo":1,"resultCode":null,"studyState":0}]
         */

        private int sn;
        private Object orgId;
        private long creationDate;
        private String orgName;
        private String planName;
        private long beginDate;
        private long endDate;
        private Object resultCode;
        private List<ListCourseBean> listCourse;

        public int getSn() {
            return sn;
        }

        public void setSn(int sn) {
            this.sn = sn;
        }

        public Object getOrgId() {
            return orgId;
        }

        public void setOrgId(Object orgId) {
            this.orgId = orgId;
        }

        public long getCreationDate() {
            return creationDate;
        }

        public void setCreationDate(long creationDate) {
            this.creationDate = creationDate;
        }

        public String getOrgName() {
            return orgName;
        }

        public void setOrgName(String orgName) {
            this.orgName = orgName;
        }

        public String getPlanName() {
            return planName;
        }

        public void setPlanName(String planName) {
            this.planName = planName;
        }

        public long getBeginDate() {
            return beginDate;
        }

        public void setBeginDate(long beginDate) {
            this.beginDate = beginDate;
        }

        public long getEndDate() {
            return endDate;
        }

        public void setEndDate(long endDate) {
            this.endDate = endDate;
        }

        public Object getResultCode() {
            return resultCode;
        }

        public void setResultCode(Object resultCode) {
            this.resultCode = resultCode;
        }

        public List<ListCourseBean> getListCourse() {
            return listCourse;
        }

        public void setListCourse(List<ListCourseBean> listCourse) {
            this.listCourse = listCourse;
        }

        public static class ListCourseBean implements Serializable {
            /**
             * sn : 23
             * orgId : null
             * otpSn : null
             * tcSn : 47
             * ttName : 安全驾驶
             * courseName : 安全驾驶第一课
             * courseLength : 1
             * mrMark : 1
             * readNo : 124
             * resultCode : null
             * studyState : 0
             */

            private int sn;
            private Object orgId;
            private Object otpSn;
            private int tcSn;
            private String ttName;
            private String courseName;
            private int courseLength;
            private int mrMark;
            private int readNo;
            private Object resultCode;
            private int studyState;

            public int getSn() {
                return sn;
            }

            public void setSn(int sn) {
                this.sn = sn;
            }

            public Object getOrgId() {
                return orgId;
            }

            public void setOrgId(Object orgId) {
                this.orgId = orgId;
            }

            public Object getOtpSn() {
                return otpSn;
            }

            public void setOtpSn(Object otpSn) {
                this.otpSn = otpSn;
            }

            public int getTcSn() {
                return tcSn;
            }

            public void setTcSn(int tcSn) {
                this.tcSn = tcSn;
            }

            public String getTtName() {
                return ttName;
            }

            public void setTtName(String ttName) {
                this.ttName = ttName;
            }

            public String getCourseName() {
                return courseName;
            }

            public void setCourseName(String courseName) {
                this.courseName = courseName;
            }

            public int getCourseLength() {
                return courseLength;
            }

            public void setCourseLength(int courseLength) {
                this.courseLength = courseLength;
            }

            public int getMrMark() {
                return mrMark;
            }

            public void setMrMark(int mrMark) {
                this.mrMark = mrMark;
            }

            public int getReadNo() {
                return readNo;
            }

            public void setReadNo(int readNo) {
                this.readNo = readNo;
            }

            public Object getResultCode() {
                return resultCode;
            }

            public void setResultCode(Object resultCode) {
                this.resultCode = resultCode;
            }

            public int getStudyState() {
                return studyState;
            }

            public void setStudyState(int studyState) {
                this.studyState = studyState;
            }
        }
    }
}
